package com.sgb.member.ui.adapter;

import android.content.Context;

import com.sgb.member.BR;
import com.sgb.member.R;
import com.sgb.member.entity.MemberBean;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class MyMemberAdapter extends BaseRecycleAdapter<MemberBean> {

    public MyMemberAdapter(Context context, List<MemberBean> datas) {
        super(context, R.layout.item_member_enterprise, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final MemberBean entity) {
        holder.setBinding(BR.viewModel, entity);

    }
}
